package view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;

public class Feedback extends JFrame {

	private JPanel p;

	/**
	 * Create the frame.
	 */
	public Feedback(String s) {
		setBounds(100, 100, 372, 237);
		this.setLocationRelativeTo(null);
		p = new JPanel();
		p.setBorder(new EmptyBorder(5, 5, 5, 5));
		p.setLayout(new BorderLayout());
		setContentPane(p);
		
		JTextArea textArea = new JTextArea();
		textArea.setBounds(0, 0, 356, 199);
		textArea.setText(s);
		p.add(textArea,BorderLayout.CENTER);
	}

}
